package com.ebocy.hammer.game.message;

import com.ebocy.hammer.core.constants.GameMessageCode;
import com.ebocy.hammer.core.message.AbstractC2SMessage;
/**
 * 进入玩家主界面
 * @author Qingrong Hou
 *
 * Jun 15, 2012
 */
public class C2SEnterGameHomePageMessage extends AbstractC2SMessage {
	private long gamePlayerId;

	public long getGamePlayerId() {
		return gamePlayerId;
	}

	@Override
	public short getMessageCode() {
		return GameMessageCode.GAME_ENTER_HOME_PAGE;
	}

	@Override
	public void readMessage() {
		this.gamePlayerId =Long.parseLong(readString());
	}

}
